(function(){
	'use strict';

    var app = angular.module('myApp.recipes-module');
	
    app.factory( 'RecipesService', [ '$http', function ( $http ) {
    	var recipesService = {};
    	
    	recipesService.getRecipes = function() {
    		return $http( { method: 'GET', url: '/recipes/getRecipes' } );
    	};
    	
    	return recipesService;
    } ] );
    
})();